﻿using Bot.Domain.Entities;
using Comm100.Framework;
using Comm100.Framework.AutoMapper;
using Comm100.Public;
using Bot.Domain.Bo;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Bot.Domain;

namespace Bot.Application.Dto
{
    [AutoMapTo(typeof(AgentAssistUpdateBo))]
    public class AgentAssistUpdateDto
    {        
        public Guid Id { get; set; }     
        [Required]
        public bool IsEnabled { get; set; }
        [Required]
        public bool IfIncludeCannedMessage { get; set; }
        [Required]
        public bool IfIncludeKnowledgeBase { get; set; }
        [Required]
        public bool IfIncludeChatBot { get; set; }
        [Required]
        public int HighConfidenceScore { get; set; }
        [Required]
        public int MaximumSuggestionNumber { get; set; }
        [Required]
        public bool IfAddVisitorQuestionAsSimilarQuestion { get; set; }
        [MaxLength(AgentAssistStringLength.MaxLength_TextBeforeKBArticle)]
        public string TextBeforeKBArticle { get; set; }
        [Required]
        public bool IfAddUnrecognizedQuestionsToLearning { get; set; }
        public List<Guid> SelectedChatbots { get; set; }
        public List<Guid> SelectedKnowledgeBases { get; set; }
    }
}